 @layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
	  <form id="roleForm">
		<div class="form-horizontal" id="roleInfoForm">
		
			<input type="hidden" id="id" name="id" value="${role.id}">
            <input type="hidden" id="type" name="type" value="update">
			<div class="row">
				<div class="col-sm-12 b-r">
					<#input id="name" name="角色名称" underline="true" value="${role.name}"  remote="rename"/>

					<#select id="useable" name="是否启用" underline="true" >
						<option value="1"
						@if(role.useable=="1"){
						    selected
						@}
						>是</option>
						<option value="0"
						@if(role.useable=="0"){
						    selected
						@}
						>否</option>
					</#select>
		
					
					<#input id="remarks" name="备注" underline="true"  value="${role.remarks}" />
				</div>
			</div>

			

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="RolInfoDlg.editSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="RolInfoDlg.close()"/>
				</div>
			</div>
		</div>
       </form>
	</div>
</div>
<script src="/modular/system/role/role_info.js"></script>
@}
